home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Organization / HyperTree / background_2888.txt < prev    next >
Encoding:
Text File  |  1988-07-30  |  36.9 KB  |  1,732 lines

  1. -- background: 2888 from stack: in
  2. -- bmap block id: 3292
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on closeCard
  8.   set cursor to 4
  9.   set name of this card to field 1
  10.   get field 1
  11.   put it into origCard
  12.   if it is not in card field 1 of card "Tree"
  13.   then put field 1 & return after card field 1 of card "Tree"
  14.   hide field "Story"
  15.   push card
  16.   set cursor to 1
  17. end closeCard
  18. on idle
  19.   if visible of background button 50 is true
  20.   then
  21.   set cursor to 4
  22.   hide field "Story"
  23.   repeat with x = 49 to 55
  24.     hide background button x
  25.   end repeat
  26. end if
  27. end idle
  28.  
  29.  
  30.  
  31. -- part 1 (field)
  32. -- low flags: 00
  33. -- high flags: 0004
  34. -- rect: left=89 top=26 right=50 bottom=451
  35. -- title width / last selected line: 0
  36. -- icon id / first selected line: 0 / 0
  37. -- text alignment: 1
  38. -- font id: 20
  39. -- text size: 14
  40. -- style flags: 256
  41. -- line height: 18
  42. -- part name: Name
  43.  
  44.  
  45. -- part 2 (field)
  46. -- low flags: 00
  47. -- high flags: 4000
  48. -- rect: left=143 top=51 right=69 bottom=230
  49. -- title width / last selected line: 0
  50. -- icon id / first selected line: 0 / 0
  51. -- text alignment: 1
  52. -- font id: 21
  53. -- text size: 12
  54. -- style flags: 0
  55. -- line height: 16
  56. -- part name: 
  57.  
  58.  
  59. -- part 3 (field)
  60. -- low flags: 00
  61. -- high flags: 4000
  62. -- rect: left=244 top=51 right=69 bottom=446
  63. -- title width / last selected line: 0
  64. -- icon id / first selected line: 0 / 0
  65. -- text alignment: 0
  66. -- font id: 21
  67. -- text size: 12
  68. -- style flags: 0
  69. -- line height: 16
  70. -- part name: 
  71.  
  72.  
  73. -- part 4 (field)
  74. -- low flags: 00
  75. -- high flags: 4000
  76. -- rect: left=143 top=68 right=86 bottom=230
  77. -- title width / last selected line: 0
  78. -- icon id / first selected line: 0 / 0
  79. -- text alignment: 1
  80. -- font id: 21
  81. -- text size: 12
  82. -- style flags: 0
  83. -- line height: 16
  84. -- part name: 
  85.  
  86.  
  87. -- part 5 (field)
  88. -- low flags: 00
  89. -- high flags: 4000
  90. -- rect: left=244 top=68 right=86 bottom=446
  91. -- title width / last selected line: 0
  92. -- icon id / first selected line: 0 / 0
  93. -- text alignment: 0
  94. -- font id: 21
  95. -- text size: 12
  96. -- style flags: 0
  97. -- line height: 16
  98. -- part name: 
  99.  
  100.  
  101. -- part 6 (field)
  102. -- low flags: 00
  103. -- high flags: 4000
  104. -- rect: left=312 top=154 right=288 bottom=493
  105. -- title width / last selected line: 0
  106. -- icon id / first selected line: 0 / 0
  107. -- text alignment: 0
  108. -- font id: 21
  109. -- text size: 10
  110. -- style flags: 0
  111. -- line height: 11
  112. -- part name: Siblings
  113.  
  114.  
  115. -- part 8 (field)
  116. -- low flags: 00
  117. -- high flags: 4000
  118. -- rect: left=55 top=205 right=224 bottom=284
  119. -- title width / last selected line: 0
  120. -- icon id / first selected line: 0 / 0
  121. -- text alignment: 0
  122. -- font id: 21
  123. -- text size: 12
  124. -- style flags: 0
  125. -- line height: 16
  126. -- part name: 
  127.  
  128.  
  129. -- part 9 (field)
  130. -- low flags: 00
  131. -- high flags: 4000
  132. -- rect: left=55 top=223 right=242 bottom=284
  133. -- title width / last selected line: 0
  134. -- icon id / first selected line: 0 / 0
  135. -- text alignment: 0
  136. -- font id: 21
  137. -- text size: 12
  138. -- style flags: 0
  139. -- line height: 16
  140. -- part name: 
  141.  
  142.  
  143. -- part 10 (field)
  144. -- low flags: 00
  145. -- high flags: 4000
  146. -- rect: left=74 top=244 right=258 bottom=169
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 0 / 0
  149. -- text alignment: 0
  150. -- font id: 21
  151. -- text size: 10
  152. -- style flags: 0
  153. -- line height: 12
  154. -- part name: 
  155.  
  156.  
  157. -- part 11 (field)
  158. -- low flags: 00
  159. -- high flags: 4000
  160. -- rect: left=74 top=257 right=271 bottom=277
  161. -- title width / last selected line: 0
  162. -- icon id / first selected line: 0 / 0
  163. -- text alignment: 0
  164. -- font id: 21
  165. -- text size: 10
  166. -- style flags: 0
  167. -- line height: 12
  168. -- part name: 
  169.  
  170.  
  171. -- part 12 (field)
  172. -- low flags: 00
  173. -- high flags: 4000
  174. -- rect: left=152 top=85 right=103 bottom=398
  175. -- title width / last selected line: 0
  176. -- icon id / first selected line: 0 / 0
  177. -- text alignment: 0
  178. -- font id: 21
  179. -- text size: 12
  180. -- style flags: 0
  181. -- line height: 16
  182. -- part name: 
  183.  
  184.  
  185. -- part 14 (field)
  186. -- low flags: 00
  187. -- high flags: 4000
  188. -- rect: left=93 top=102 right=116 bottom=180
  189. -- title width / last selected line: 0
  190. -- icon id / first selected line: 0 / 0
  191. -- text alignment: 1
  192. -- font id: 21
  193. -- text size: 10
  194. -- style flags: 0
  195. -- line height: 12
  196. -- part name: 
  197.  
  198.  
  199. -- part 20 (field)
  200. -- low flags: 00
  201. -- high flags: 4000
  202. -- rect: left=193 top=102 right=116 bottom=395
  203. -- title width / last selected line: 0
  204. -- icon id / first selected line: 0 / 0
  205. -- text alignment: 0
  206. -- font id: 21
  207. -- text size: 10
  208. -- style flags: 0
  209. -- line height: 12
  210. -- part name: 
  211. ----- HyperTalk script -----
  212. on closeField
  213.   exit closeField
  214.   put field 1 into sName
  215.   put field 12 into fmDate
  216.   put field 13 into fmPerson
  217.   if (field 13 is not empty) and (field 13 is not in card field 1 of card "Tree")
  218.   then
  219.   push card
  220.   set lockScreen to true
  221.   doMenu "New Card"
  222.   put fmPerson into field 1
  223.   put fmPerson & return after card field 1 of card "Tree"
  224.   set name of this card to field 1
  225.   put fmDate into field 12
  226.   put sName into field 13
  227.   pop card
  228.   set lockScreen to false
  229. end if
  230. end closeField
  231.  
  232.  
  233. -- part 21 (field)
  234. -- low flags: 00
  235. -- high flags: 4000
  236. -- rect: left=93 top=115 right=129 bottom=180
  237. -- title width / last selected line: 0
  238. -- icon id / first selected line: 0 / 0
  239. -- text alignment: 1
  240. -- font id: 21
  241. -- text size: 10
  242. -- style flags: 0
  243. -- line height: 12
  244. -- part name: 
  245.  
  246.  
  247. -- part 22 (field)
  248. -- low flags: 00
  249. -- high flags: 4000
  250. -- rect: left=193 top=115 right=129 bottom=395
  251. -- title width / last selected line: 0
  252. -- icon id / first selected line: 0 / 0
  253. -- text alignment: 0
  254. -- font id: 21
  255. -- text size: 10
  256. -- style flags: 0
  257. -- line height: 12
  258. -- part name: 
  259. ----- HyperTalk script -----
  260. on closeField
  261.   exit closeField
  262.   put field 1 into sName
  263.   put field 14 into smDate
  264.   put field 15 into smPerson
  265.   if (field 15 is not empty) and (field 15 is not in card field 1 of card "Tree")
  266.   then
  267.   push card
  268.   set lockScreen to true
  269.   doMenu "New Card"
  270.   put smPerson into field 1
  271.   put smPerson & return after card field 1 of card "Tree"
  272.   set name of this card to field 1
  273.   put smDate into field 12
  274.   put sName into field 13
  275.   pop card
  276.   set lockScreen to false
  277. end if
  278. end closeField
  279.  
  280.  
  281. -- part 23 (field)
  282. -- low flags: 00
  283. -- high flags: 4000
  284. -- rect: left=93 top=128 right=142 bottom=180
  285. -- title width / last selected line: 0
  286. -- icon id / first selected line: 0 / 0
  287. -- text alignment: 1
  288. -- font id: 21
  289. -- text size: 10
  290. -- style flags: 0
  291. -- line height: 12
  292. -- part name: 
  293.  
  294.  
  295. -- part 24 (field)
  296. -- low flags: 00
  297. -- high flags: 4000
  298. -- rect: left=193 top=128 right=142 bottom=395
  299. -- title width / last selected line: 0
  300. -- icon id / first selected line: 0 / 0
  301. -- text alignment: 0
  302. -- font id: 21
  303. -- text size: 10
  304. -- style flags: 0
  305. -- line height: 12
  306. -- part name: 
  307. ----- HyperTalk script -----
  308. on closeField
  309.   exit closeField
  310.   put field 1 into sName
  311.   put field 16 into tmDate
  312.   put field 17 into tmPerson
  313.   if (field 17 is not empty) and (field 17 is not in card field 1 of card "Tree")
  314.   then
  315.   push card
  316.   set lockScreen to true
  317.   doMenu "New Card"
  318.   put tmPerson into field 1
  319.   put tmPerson & return after card field 1 of card "Tree"
  320.   set name of this card to field 1
  321.   put tmDate into field 12
  322.   put sName into field 13
  323.   pop card
  324.   set lockScreen to false
  325. end if
  326. end closeField
  327.  
  328.  
  329. -- part 26 (button)
  330. -- low flags: 00
  331. -- high flags: 0000
  332. -- rect: left=257 top=298 right=321 bottom=282
  333. -- title width / last selected line: 0
  334. -- icon id / first selected line: 1013 / 1013
  335. -- text alignment: 1
  336. -- font id: 0
  337. -- text size: 12
  338. -- style flags: 0
  339. -- line height: 16
  340. -- part name: Next
  341. ----- HyperTalk script -----
  342. on mouseUp
  343.   visual effect dissolve
  344.   go to next card
  345. end mouseUp
  346.  
  347.  
  348.  
  349. -- part 27 (button)
  350. -- low flags: 00
  351. -- high flags: 0000
  352. -- rect: left=228 top=298 right=321 bottom=254
  353. -- title width / last selected line: 0
  354. -- icon id / first selected line: 1014 / 1014
  355. -- text alignment: 1
  356. -- font id: 0
  357. -- text size: 12
  358. -- style flags: 0
  359. -- line height: 16
  360. -- part name: Prev
  361. ----- HyperTalk script -----
  362. on mouseUp
  363.   visual effect dissolve
  364.   go to prev card
  365. end mouseUp
  366.  
  367.  
  368.  
  369. -- part 28 (button)
  370. -- low flags: 00
  371. -- high flags: 2000
  372. -- rect: left=51 top=297 right=327 bottom=81
  373. -- title width / last selected line: 0
  374. -- icon id / first selected line: 8538 / 8538
  375. -- text alignment: 1
  376. -- font id: 0
  377. -- text size: 12
  378. -- style flags: 0
  379. -- line height: 16
  380. -- part name: Find " "
  381. ----- HyperTalk script -----
  382. on mouseUp
  383.   DoMenu Find...
  384. end mouseUp
  385.  
  386.  
  387.  
  388. -- part 31 (button)
  389. -- low flags: 00
  390. -- high flags: 8001
  391. -- rect: left=136 top=288 right=338 bottom=210
  392. -- title width / last selected line: 0
  393. -- icon id / first selected line: 1004 / 1004
  394. -- text alignment: 1
  395. -- font id: 0
  396. -- text size: 12
  397. -- style flags: 0
  398. -- line height: 16
  399. -- part name: Read/Edit Story
  400. ----- HyperTalk script -----
  401. on mouseUp
  402.   show field "Story"
  403.   show background button "Hide Story"
  404. end mouseUp
  405.  
  406.  
  407.  
  408. -- part 33 (button)
  409. -- low flags: 00
  410. -- high flags: 8000
  411. -- rect: left=354 top=287 right=337 bottom=403
  412. -- title width / last selected line: 0
  413. -- icon id / first selected line: 3430 / 3430
  414. -- text alignment: 1
  415. -- font id: 0
  416. -- text size: 12
  417. -- style flags: 0
  418. -- line height: 16
  419. -- part name: Blank Card
  420. ----- HyperTalk script -----
  421. on mouseUp
  422.   doMenu "New Card"
  423. end mouseUp
  424.  
  425.  
  426.  
  427. -- part 34 (button)
  428. -- low flags: 00
  429. -- high flags: 0000
  430. -- rect: left=480 top=301 right=328 bottom=505
  431. -- title width / last selected line: 0
  432. -- icon id / first selected line: 6720 / 6720
  433. -- text alignment: 1
  434. -- font id: 0
  435. -- text size: 12
  436. -- style flags: 0
  437. -- line height: 16
  438. -- part name: New Button
  439. ----- HyperTalk script -----
  440. on mouseUp
  441.   visual dissolve
  442.   pop card
  443. end mouseUp
  444.  
  445.  
  446.  
  447. -- part 35 (button)
  448. -- low flags: 80
  449. -- high flags: 8001
  450. -- rect: left=149 top=289 right=339 bottom=223
  451. -- title width / last selected line: 0
  452. -- icon id / first selected line: 1004 / 1004
  453. -- text alignment: 1
  454. -- font id: 0
  455. -- text size: 12
  456. -- style flags: 0
  457. -- line height: 16
  458. -- part name: Hide Story
  459. ----- HyperTalk script -----
  460. on mouseUp
  461.   hide field "Story"
  462.   hide background button "Hide Story"
  463.   show background button "Read/Edit Story"
  464. end mouseUp
  465.  
  466.  
  467.  
  468. -- part 51 (button)
  469. -- low flags: 00
  470. -- high flags: 8000
  471. -- rect: left=413 top=287 right=337 bottom=471
  472. -- title width / last selected line: 0
  473. -- icon id / first selected line: 11645 / 11645
  474. -- text alignment: 1
  475. -- font id: 0
  476. -- text size: 12
  477. -- style flags: 0
  478. -- line height: 16
  479. -- part name: Create Cards
  480. ----- HyperTalk script -----
  481. on mouseUp
  482.   set cursor to 4
  483.   set lockScreen to true
  484.   if (field "Siblings" is empty) and (field 7 is empty) and (field 8 is empty) and (field 13 is empty) and (field 15 is empty) and (field 17 is empty) and (field 19 is empty)
  485.   then
  486.   exit mouseUp
  487. else
  488.   put field 1 into cName
  489.   if field "Siblings" is not empty
  490.   then
  491.   put field 1 into sName
  492.   get the number of lines in field "Siblings"
  493.   put it into numLine
  494.   push card
  495.   doMenu "Copy Card"
  496.   repeat with z = 1 to numLine
  497.     if line z of field "Siblings" is in card field "CardNames" of card "Tree"
  498.     then next repeat
  499.   else
  500.     doMenu "Paste Card"
  501.     repeat with b = 2 to 5
  502.       put empty into field b
  503.     end repeat
  504.     repeat with c = 11 to 18
  505.       put empty into field c
  506.     end repeat
  507.     put line z of field "Siblings" into field 1
  508.     set the name of this card to field 1
  509.     put field 1 & return after card field "CardNames" of card "Tree"
  510.     put sName into line z of field "Siblings"
  511.   end if
  512. end repeat
  513. end if
  514. pop card
  515. end if
  516. push card
  517. if (field 7 is not empty) or (field 8 is not empty)
  518. then
  519. put field 7 into fName
  520. put field 8 into mName
  521. put field 9 into mDate
  522. if fName is not in card field 1 of card "Tree"
  523. then
  524. doMenu "New Card"
  525. put fName into field 1
  526. put mName into field 13
  527. put mDate into field 12
  528. set name of this card to field 1
  529. put field 1 & return after card field 1 of card "Tree"
  530. end if
  531. if mName is not in card field 1 of card "Tree"
  532. then
  533. doMenu "New Card"
  534. put mName into field 1
  535. put fName into field 13
  536. put mDate into field 12
  537. set name of this card to field 1
  538. put field 1 & return after card field 1 of card "Tree"
  539. end if
  540. end if
  541. pop card
  542. push card
  543. put field 1 into sName
  544. put field 12 into fmDate
  545. put field 13 into fmPerson
  546. put field 14 into smDate
  547. put field 15 into smPerson
  548. put field 16 into tmDate
  549. put field 17 into tmPerson
  550. put field 18 into fomDate
  551. put field 19 into fomPerson
  552. put field 21 into fDiv
  553. put field 22 into sDiv
  554. put field 23 into tDiv
  555. put field 24 into foDiv
  556. if (field 13 is not empty) and (field 13 is not in card field 1 of card "Tree")
  557. then
  558. doMenu "New Card"
  559. put fmPerson into field 1
  560. put fmPerson & return after card field 1 of card "Tree"
  561. set name of this card to field 1
  562. put fmDate into field 12
  563. put sName into field 13
  564. put fDiv into field 21
  565. end if
  566. if (smPerson is not empty) and (smPerson is not in card field 1 of card "Tree")
  567. then
  568. doMenu "New Card"
  569. put smPerson into field 1
  570. put smPerson & return after card field 1 of card "Tree"
  571. set name of this card to field 1
  572. put smDate into field 12
  573. put sName into field 13
  574. put sDiv into field 21
  575. end if
  576. if (tmPerson is not empty) and (tmPerson is not in card field 1 of card "Tree")
  577. then
  578. doMenu "New Card"
  579. put tmPerson into field 1
  580. put tmPerson & return after card field 1 of card "Tree"
  581. set name of this card to field 1
  582. put tmDate into field 12
  583. put sName into field 13
  584. put tDiv into field 21
  585. end if
  586. if (fomPerson is not empty) and (fomPerson is not in card field 1 of card "Tree")
  587. then
  588. doMenu "New Card"
  589. put fomPerson into field 1
  590. put fomPerson & return after card field 1 of card "Tree"
  591. set name of this card to field 1
  592. put fomDate into field 12
  593. put sName into field 13
  594. put foDiv into field 21
  595. end if
  596. pop card
  597. pop card
  598. set cursor to 1
  599. end mouseUp
  600.  
  601.  
  602.  
  603. -- part 52 (button)
  604. -- low flags: 00
  605. -- high flags: 0000
  606. -- rect: left=483 top=26 right=51 bottom=509
  607. -- title width / last selected line: 0
  608. -- icon id / first selected line: 26635 / 26635
  609. -- text alignment: 1
  610. -- font id: 0
  611. -- text size: 12
  612. -- style flags: 0
  613. -- line height: 16
  614. -- part name: 
  615. ----- HyperTalk script -----
  616. on mouseUp
  617.   push card
  618.   visual venetian blinds
  619.   go to card "Intro"
  620.   set cursor to 4
  621.   repeat with x = 3 to the number of card fields
  622.     show card field x
  623.   end repeat
  624.   show button "OK, return to previous card"
  625. end mouseUp
  626.  
  627.  
  628.  
  629. -- part 58 (button)
  630. -- low flags: 00
  631. -- high flags: 0000
  632. -- rect: left=494 top=154 right=166 bottom=510
  633. -- title width / last selected line: 0
  634. -- icon id / first selected line: 0 / 0
  635. -- text alignment: 1
  636. -- font id: 0
  637. -- text size: 12
  638. -- style flags: 0
  639. -- line height: 16
  640. -- part name: 
  641. ----- HyperTalk script -----
  642. on mouseUp
  643.   push card
  644.   visual dissolve
  645.   go to card (line 1 of field "Siblings")
  646. end mouseUp
  647.  
  648.  
  649. -- part 59 (button)
  650. -- low flags: 00
  651. -- high flags: 0000
  652. -- rect: left=494 top=165 right=177 bottom=510
  653. -- title width / last selected line: 0
  654. -- icon id / first selected line: 0 / 0
  655. -- text alignment: 1
  656. -- font id: 0
  657. -- text size: 12
  658. -- style flags: 0
  659. -- line height: 16
  660. -- part name: 
  661. ----- HyperTalk script -----
  662. on mouseUp
  663.   push card
  664.   visual dissolve
  665.   go to card (line 2 of field "Siblings")
  666. end mouseUp
  667.  
  668.  
  669. -- part 60 (button)
  670. -- low flags: 00
  671. -- high flags: 0000
  672. -- rect: left=494 top=176 right=188 bottom=510
  673. -- title width / last selected line: 0
  674. -- icon id / first selected line: 0 / 0
  675. -- text alignment: 1
  676. -- font id: 0
  677. -- text size: 12
  678. -- style flags: 0
  679. -- line height: 16
  680. -- part name: 
  681. ----- HyperTalk script -----
  682. on mouseUp
  683.   push card
  684.   visual dissolve
  685.   go to card (line 3 of field "Siblings")
  686. end mouseUp
  687.  
  688.  
  689. -- part 61 (button)
  690. -- low flags: 00
  691. -- high flags: 0000
  692. -- rect: left=494 top=187 right=199 bottom=510
  693. -- title width / last selected line: 0
  694. -- icon id / first selected line: 0 / 0
  695. -- text alignment: 1
  696. -- font id: 0
  697. -- text size: 12
  698. -- style flags: 0
  699. -- line height: 16
  700. -- part name: 
  701. ----- HyperTalk script -----
  702. on mouseUp
  703.   push card
  704.   visual dissolve
  705.   go to card (line 4 of field "Siblings")
  706. end mouseUp
  707.  
  708.  
  709. -- part 62 (button)
  710. -- low flags: 00
  711. -- high flags: 0000
  712. -- rect: left=494 top=198 right=210 bottom=510
  713. -- title width / last selected line: 0
  714. -- icon id / first selected line: 0 / 0
  715. -- text alignment: 1
  716. -- font id: 0
  717. -- text size: 12
  718. -- style flags: 0
  719. -- line height: 16
  720. -- part name: 
  721. ----- HyperTalk script -----
  722. on mouseUp
  723.   push card
  724.   visual dissolve
  725.   go to card (line 5 of field "Siblings")
  726. end mouseUp
  727.  
  728.  
  729. -- part 63 (button)
  730. -- low flags: 00
  731. -- high flags: 0000
  732. -- rect: left=494 top=209 right=221 bottom=510
  733. -- title width / last selected line: 0
  734. -- icon id / first selected line: 0 / 0
  735. -- text alignment: 1
  736. -- font id: 0
  737. -- text size: 12
  738. -- style flags: 0
  739. -- line height: 16
  740. -- part name: 
  741. ----- HyperTalk script -----
  742. on mouseUp
  743.   push card
  744.   visual dissolve
  745.   go to card (line 6 of field "Siblings")
  746. end mouseUp
  747.  
  748.  
  749. -- part 64 (button)
  750. -- low flags: 00
  751. -- high flags: 0000
  752. -- rect: left=494 top=220 right=232 bottom=510
  753. -- title width / last selected line: 0
  754. -- icon id / first selected line: 0 / 0
  755. -- text alignment: 1
  756. -- font id: 0
  757. -- text size: 12
  758. -- style flags: 0
  759. -- line height: 16
  760. -- part name: 
  761. ----- HyperTalk script -----
  762. on mouseUp
  763.   push card
  764.   visual dissolve
  765.   go to card (line 7 of field "Siblings")
  766. end mouseUp
  767.  
  768.  
  769. -- part 65 (button)
  770. -- low flags: 00
  771. -- high flags: 0000
  772. -- rect: left=494 top=231 right=243 bottom=510
  773. -- title width / last selected line: 0
  774. -- icon id / first selected line: 0 / 0
  775. -- text alignment: 1
  776. -- font id: 0
  777. -- text size: 12
  778. -- style flags: 0
  779. -- line height: 16
  780. -- part name: 
  781. ----- HyperTalk script -----
  782. on mouseUp
  783.   push card
  784.   visual dissolve
  785.   go to card (line 8 of field "Siblings")
  786. end mouseUp
  787.  
  788.  
  789. -- part 66 (button)
  790. -- low flags: 00
  791. -- high flags: 0000
  792. -- rect: left=494 top=242 right=254 bottom=510
  793. -- title width / last selected line: 0
  794. -- icon id / first selected line: 0 / 0
  795. -- text alignment: 1
  796. -- font id: 0
  797. -- text size: 12
  798. -- style flags: 0
  799. -- line height: 16
  800. -- part name: 
  801. ----- HyperTalk script -----
  802. on mouseUp
  803.   push card
  804.   visual dissolve
  805.   go to card (line 9 of field "Siblings")
  806. end mouseUp
  807.  
  808.  
  809. -- part 67 (button)
  810. -- low flags: 00
  811. -- high flags: 0000
  812. -- rect: left=494 top=253 right=265 bottom=510
  813. -- title width / last selected line: 0
  814. -- icon id / first selected line: 0 / 0
  815. -- text alignment: 1
  816. -- font id: 0
  817. -- text size: 12
  818. -- style flags: 0
  819. -- line height: 16
  820. -- part name: 
  821. ----- HyperTalk script -----
  822. on mouseUp
  823.   push card
  824.   visual dissolve
  825.   go to card (line 10 of field "Siblings")
  826. end mouseUp
  827.  
  828.  
  829. -- part 68 (button)
  830. -- low flags: 00
  831. -- high flags: 0000
  832. -- rect: left=494 top=264 right=276 bottom=510
  833. -- title width / last selected line: 0
  834. -- icon id / first selected line: 0 / 0
  835. -- text alignment: 1
  836. -- font id: 0
  837. -- text size: 12
  838. -- style flags: 0
  839. -- line height: 16
  840. -- part name: 
  841. ----- HyperTalk script -----
  842. on mouseUp
  843.   push card
  844.   visual dissolve
  845.   go to card (line 11 of field "Siblings")
  846. end mouseUp
  847.  
  848.  
  849. -- part 69 (button)
  850. -- low flags: 00
  851. -- high flags: 0000
  852. -- rect: left=494 top=275 right=287 bottom=510
  853. -- title width / last selected line: 0
  854. -- icon id / first selected line: 0 / 0
  855. -- text alignment: 1
  856. -- font id: 0
  857. -- text size: 12
  858. -- style flags: 0
  859. -- line height: 16
  860. -- part name: 
  861. ----- HyperTalk script -----
  862. on mouseUp
  863.   push card
  864.   visual dissolve
  865.   go to card (line 12 of field "Siblings")
  866. end mouseUp
  867.  
  868.  
  869. -- part 70 (button)
  870. -- low flags: 00
  871. -- high flags: 0000
  872. -- rect: left=281 top=208 right=220 bottom=297
  873. -- title width / last selected line: 0
  874. -- icon id / first selected line: 0 / 0
  875. -- text alignment: 1
  876. -- font id: 0
  877. -- text size: 12
  878. -- style flags: 0
  879. -- line height: 16
  880. -- part name: 
  881. ----- HyperTalk script -----
  882. on mouseUp
  883.   push card
  884.   visual dissolve
  885.   go to card (field 7)
  886. end mouseUp
  887.  
  888.  
  889. -- part 71 (button)
  890. -- low flags: 00
  891. -- high flags: 0000
  892. -- rect: left=281 top=226 right=238 bottom=297
  893. -- title width / last selected line: 0
  894. -- icon id / first selected line: 0 / 0
  895. -- text alignment: 1
  896. -- font id: 0
  897. -- text size: 12
  898. -- style flags: 0
  899. -- line height: 16
  900. -- part name: 
  901. ----- HyperTalk script -----
  902. on mouseUp
  903.   push card
  904.   visual dissolve
  905.   go to card (field 8)
  906. end mouseUp
  907.  
  908.  
  909. -- part 96 (button)
  910. -- low flags: 00
  911. -- high flags: 0000
  912. -- rect: left=494 top=101 right=113 bottom=510
  913. -- title width / last selected line: 0
  914. -- icon id / first selected line: 0 / 0
  915. -- text alignment: 1
  916. -- font id: 0
  917. -- text size: 12
  918. -- style flags: 0
  919. -- line height: 16
  920. -- part name: 
  921. ----- HyperTalk script -----
  922. on mouseUp
  923.   push card
  924.   visual dissolve
  925.   go to card (field 13)
  926. end mouseUp
  927.  
  928.  
  929. -- part 99 (field)
  930. -- low flags: 00
  931. -- high flags: 4000
  932. -- rect: left=93 top=141 right=155 bottom=180
  933. -- title width / last selected line: 0
  934. -- icon id / first selected line: 0 / 0
  935. -- text alignment: 1
  936. -- font id: 21
  937. -- text size: 10
  938. -- style flags: 0
  939. -- line height: 12
  940. -- part name: 
  941.  
  942.  
  943. -- part 97 (button)
  944. -- low flags: 00
  945. -- high flags: 0000
  946. -- rect: left=494 top=114 right=126 bottom=510
  947. -- title width / last selected line: 0
  948. -- icon id / first selected line: 0 / 0
  949. -- text alignment: 1
  950. -- font id: 0
  951. -- text size: 12
  952. -- style flags: 0
  953. -- line height: 16
  954. -- part name: 
  955. ----- HyperTalk script -----
  956. on mouseUp
  957.   push card
  958.   visual dissolve
  959.   go to card (field 15)
  960. end mouseUp
  961.  
  962.  
  963. -- part 98 (button)
  964. -- low flags: 00
  965. -- high flags: 0000
  966. -- rect: left=494 top=127 right=139 bottom=510
  967. -- title width / last selected line: 0
  968. -- icon id / first selected line: 0 / 0
  969. -- text alignment: 1
  970. -- font id: 0
  971. -- text size: 12
  972. -- style flags: 0
  973. -- line height: 16
  974. -- part name: 
  975. ----- HyperTalk script -----
  976. on mouseUp
  977.   push card
  978.   visual dissolve
  979.   go to card (field 17)
  980. end mouseUp
  981.  
  982.  
  983. -- part 100 (field)
  984. -- low flags: 00
  985. -- high flags: 4000
  986. -- rect: left=193 top=141 right=155 bottom=395
  987. -- title width / last selected line: 0
  988. -- icon id / first selected line: 0 / 0
  989. -- text alignment: 0
  990. -- font id: 21
  991. -- text size: 10
  992. -- style flags: 0
  993. -- line height: 12
  994. -- part name: 
  995. ----- HyperTalk script -----
  996. on closeField
  997.   exit closeField
  998.   put field 1 into sName
  999.   put field 18 into tmDate
  1000.   put field 19 into tmPerson
  1001.   if (field 19 is not empty) and (field 19 is not in card field 1 of card "Tree")
  1002.   then
  1003.   push card
  1004.   set lockScreen to true
  1005.   doMenu "New Card"
  1006.   put tmPerson into field 1
  1007.   put tmPerson & return after card field 1 of card "Tree"
  1008.   set name of this card to field 1
  1009.   put tmDate into field 12
  1010.   put sName into field 13
  1011.   pop card
  1012.   set lockScreen to false
  1013. end if
  1014. end closeField
  1015.  
  1016.  
  1017. -- part 104 (button)
  1018. -- low flags: 00
  1019. -- high flags: 0000
  1020. -- rect: left=494 top=140 right=152 bottom=510
  1021. -- title width / last selected line: 0
  1022. -- icon id / first selected line: 0 / 0
  1023. -- text alignment: 1
  1024. -- font id: 0
  1025. -- text size: 12
  1026. -- style flags: 0
  1027. -- line height: 16
  1028. -- part name: 
  1029. ----- HyperTalk script -----
  1030. on mouseUp
  1031.   push card
  1032.   visual dissolve
  1033.   go to card (field 19)
  1034. end mouseUp
  1035.  
  1036.  
  1037. -- part 105 (button)
  1038. -- low flags: 00
  1039. -- high flags: 0000
  1040. -- rect: left=297 top=154 right=166 bottom=313
  1041. -- title width / last selected line: 0
  1042. -- icon id / first selected line: 0 / 0
  1043. -- text alignment: 1
  1044. -- font id: 0
  1045. -- text size: 12
  1046. -- style flags: 0
  1047. -- line height: 16
  1048. -- part name: 
  1049. ----- HyperTalk script -----
  1050. on mouseUp
  1051.   global treeStart
  1052.   put line 1 of field "Siblings" into treeStart
  1053.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1054.   push card
  1055.   pass mouseUp
  1056. end mouseUp
  1057.  
  1058.  
  1059.  
  1060. -- part 117 (button)
  1061. -- low flags: 00
  1062. -- high flags: 0000
  1063. -- rect: left=297 top=165 right=177 bottom=313
  1064. -- title width / last selected line: 0
  1065. -- icon id / first selected line: 0 / 0
  1066. -- text alignment: 1
  1067. -- font id: 0
  1068. -- text size: 12
  1069. -- style flags: 0
  1070. -- line height: 16
  1071. -- part name: 
  1072. ----- HyperTalk script -----
  1073. on mouseUp
  1074.   global treeStart
  1075.   put line 2 of field "Siblings" into treeStart
  1076.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1077.   push card
  1078.   pass mouseUp
  1079. end mouseUp
  1080.  
  1081.  
  1082.  
  1083. -- part 118 (button)
  1084. -- low flags: 00
  1085. -- high flags: 0000
  1086. -- rect: left=297 top=176 right=188 bottom=313
  1087. -- title width / last selected line: 0
  1088. -- icon id / first selected line: 0 / 0
  1089. -- text alignment: 1
  1090. -- font id: 0
  1091. -- text size: 12
  1092. -- style flags: 0
  1093. -- line height: 16
  1094. -- part name: 
  1095. ----- HyperTalk script -----
  1096. on mouseUp
  1097.   global treeStart
  1098.   put line 3 of field "Siblings" into treeStart
  1099.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1100.   push card
  1101.   pass mouseUp
  1102. end mouseUp
  1103.  
  1104.  
  1105.  
  1106. -- part 119 (button)
  1107. -- low flags: 00
  1108. -- high flags: 0000
  1109. -- rect: left=297 top=187 right=199 bottom=313
  1110. -- title width / last selected line: 0
  1111. -- icon id / first selected line: 0 / 0
  1112. -- text alignment: 1
  1113. -- font id: 0
  1114. -- text size: 12
  1115. -- style flags: 0
  1116. -- line height: 16
  1117. -- part name: 
  1118. ----- HyperTalk script -----
  1119. on mouseUp
  1120.   global treeStart
  1121.   put line 4 of field "Siblings" into treeStart
  1122.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1123.   push card
  1124.   pass mouseUp
  1125. end mouseUp
  1126.  
  1127.  
  1128.  
  1129. -- part 120 (button)
  1130. -- low flags: 00
  1131. -- high flags: 0000
  1132. -- rect: left=297 top=198 right=210 bottom=313
  1133. -- title width / last selected line: 0
  1134. -- icon id / first selected line: 0 / 0
  1135. -- text alignment: 1
  1136. -- font id: 0
  1137. -- text size: 12
  1138. -- style flags: 0
  1139. -- line height: 16
  1140. -- part name: 
  1141. ----- HyperTalk script -----
  1142. on mouseUp
  1143.   global treeStart
  1144.   put line 5 of field "Siblings" into treeStart
  1145.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1146.   push card
  1147.   pass mouseUp
  1148. end mouseUp
  1149.  
  1150.  
  1151.  
  1152. -- part 121 (button)
  1153. -- low flags: 00
  1154. -- high flags: 0000
  1155. -- rect: left=297 top=209 right=221 bottom=313
  1156. -- title width / last selected line: 0
  1157. -- icon id / first selected line: 0 / 0
  1158. -- text alignment: 1
  1159. -- font id: 0
  1160. -- text size: 12
  1161. -- style flags: 0
  1162. -- line height: 16
  1163. -- part name: 
  1164. ----- HyperTalk script -----
  1165. on mouseUp
  1166.   global treeStart
  1167.   put line 6 of field "Siblings" into treeStart
  1168.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1169.   push card
  1170.   pass mouseUp
  1171. end mouseUp
  1172.  
  1173.  
  1174.  
  1175. -- part 122 (button)
  1176. -- low flags: 00
  1177. -- high flags: 0000
  1178. -- rect: left=297 top=220 right=232 bottom=313
  1179. -- title width / last selected line: 0
  1180. -- icon id / first selected line: 0 / 0
  1181. -- text alignment: 1
  1182. -- font id: 0
  1183. -- text size: 12
  1184. -- style flags: 0
  1185. -- line height: 16
  1186. -- part name: 
  1187. ----- HyperTalk script -----
  1188. on mouseUp
  1189.   global treeStart
  1190.   put line 7 of field "Siblings" into treeStart
  1191.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1192.   push card
  1193.   pass mouseUp
  1194. end mouseUp
  1195.  
  1196.  
  1197.  
  1198. -- part 123 (button)
  1199. -- low flags: 00
  1200. -- high flags: 0000
  1201. -- rect: left=297 top=231 right=243 bottom=313
  1202. -- title width / last selected line: 0
  1203. -- icon id / first selected line: 0 / 0
  1204. -- text alignment: 1
  1205. -- font id: 0
  1206. -- text size: 12
  1207. -- style flags: 0
  1208. -- line height: 16
  1209. -- part name: 
  1210. ----- HyperTalk script -----
  1211. on mouseUp
  1212.   global treeStart
  1213.   put line 8 of field "Siblings" into treeStart
  1214.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1215.   push card
  1216.   pass mouseUp
  1217. end mouseUp
  1218.  
  1219.  
  1220.  
  1221. -- part 124 (button)
  1222. -- low flags: 00
  1223. -- high flags: 0000
  1224. -- rect: left=297 top=242 right=254 bottom=313
  1225. -- title width / last selected line: 0
  1226. -- icon id / first selected line: 0 / 0
  1227. -- text alignment: 1
  1228. -- font id: 0
  1229. -- text size: 12
  1230. -- style flags: 0
  1231. -- line height: 16
  1232. -- part name: 
  1233. ----- HyperTalk script -----
  1234. on mouseUp
  1235.   global treeStart
  1236.   put line 9 of field "Siblings" into treeStart
  1237.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1238.   push card
  1239.   pass mouseUp
  1240. end mouseUp
  1241.  
  1242.  
  1243.  
  1244. -- part 125 (button)
  1245. -- low flags: 00
  1246. -- high flags: 0000
  1247. -- rect: left=297 top=253 right=265 bottom=313
  1248. -- title width / last selected line: 0
  1249. -- icon id / first selected line: 0 / 0
  1250. -- text alignment: 1
  1251. -- font id: 0
  1252. -- text size: 12
  1253. -- style flags: 0
  1254. -- line height: 16
  1255. -- part name: 
  1256. ----- HyperTalk script -----
  1257. on mouseUp
  1258.   global treeStart
  1259.   put line 10 of field "Siblings" into treeStart
  1260.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1261.   push card
  1262.   pass mouseUp
  1263. end mouseUp
  1264.  
  1265.  
  1266.  
  1267. -- part 126 (button)
  1268. -- low flags: 00
  1269. -- high flags: 0000
  1270. -- rect: left=297 top=264 right=276 bottom=313
  1271. -- title width / last selected line: 0
  1272. -- icon id / first selected line: 0 / 0
  1273. -- text alignment: 1
  1274. -- font id: 0
  1275. -- text size: 12
  1276. -- style flags: 0
  1277. -- line height: 16
  1278. -- part name: 
  1279. ----- HyperTalk script -----
  1280. on mouseUp
  1281.   global treeStart
  1282.   put line 11 of field "Siblings" into treeStart
  1283.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1284.   push card
  1285.   pass mouseUp
  1286. end mouseUp
  1287.  
  1288.  
  1289.  
  1290. -- part 127 (button)
  1291. -- low flags: 00
  1292. -- high flags: 0000
  1293. -- rect: left=297 top=275 right=287 bottom=313
  1294. -- title width / last selected line: 0
  1295. -- icon id / first selected line: 0 / 0
  1296. -- text alignment: 1
  1297. -- font id: 0
  1298. -- text size: 12
  1299. -- style flags: 0
  1300. -- line height: 16
  1301. -- part name: 
  1302. ----- HyperTalk script -----
  1303. on mouseUp
  1304.   global treeStart
  1305.   put line 12 of field "Siblings" into treeStart
  1306.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1307.   push card
  1308.   pass mouseUp
  1309. end mouseUp
  1310.  
  1311.  
  1312.  
  1313. -- part 128 (button)
  1314. -- low flags: 00
  1315. -- high flags: 0000
  1316. -- rect: left=5 top=102 right=114 bottom=21
  1317. -- title width / last selected line: 0
  1318. -- icon id / first selected line: 0 / 0
  1319. -- text alignment: 1
  1320. -- font id: 0
  1321. -- text size: 12
  1322. -- style flags: 0
  1323. -- line height: 16
  1324. -- part name: 
  1325. ----- HyperTalk script -----
  1326. on mouseUp
  1327.   global treeStart
  1328.   put field 13 into treeStart
  1329.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1330.   push card
  1331.   pass mouseUp
  1332. end mouseUp
  1333.  
  1334.  
  1335.  
  1336. -- part 129 (button)
  1337. -- low flags: 00
  1338. -- high flags: 0000
  1339. -- rect: left=5 top=115 right=127 bottom=21
  1340. -- title width / last selected line: 0
  1341. -- icon id / first selected line: 0 / 0
  1342. -- text alignment: 1
  1343. -- font id: 0
  1344. -- text size: 12
  1345. -- style flags: 0
  1346. -- line height: 16
  1347. -- part name: 
  1348. ----- HyperTalk script -----
  1349. on mouseUp
  1350.   global treeStart
  1351.   put field 15 into treeStart
  1352.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1353.   push card
  1354.   pass mouseUp
  1355. end mouseUp
  1356.  
  1357.  
  1358.  
  1359. -- part 130 (button)
  1360. -- low flags: 00
  1361. -- high flags: 0000
  1362. -- rect: left=5 top=128 right=140 bottom=21
  1363. -- title width / last selected line: 0
  1364. -- icon id / first selected line: 0 / 0
  1365. -- text alignment: 1
  1366. -- font id: 0
  1367. -- text size: 12
  1368. -- style flags: 0
  1369. -- line height: 16
  1370. -- part name: 
  1371. ----- HyperTalk script -----
  1372. on mouseUp
  1373.   global treeStart
  1374.   put field 17 into treeStart
  1375.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1376.   push card
  1377.   pass mouseUp
  1378. end mouseUp
  1379.  
  1380.  
  1381.  
  1382. -- part 131 (button)
  1383. -- low flags: 00
  1384. -- high flags: 0000
  1385. -- rect: left=5 top=141 right=153 bottom=21
  1386. -- title width / last selected line: 0
  1387. -- icon id / first selected line: 0 / 0
  1388. -- text alignment: 1
  1389. -- font id: 0
  1390. -- text size: 12
  1391. -- style flags: 0
  1392. -- line height: 16
  1393. -- part name: 
  1394. ----- HyperTalk script -----
  1395. on mouseUp
  1396.   global treeStart
  1397.   put field 19 into treeStart
  1398.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1399.   push card
  1400.   pass mouseUp
  1401. end mouseUp
  1402.  
  1403.  
  1404.  
  1405. -- part 132 (button)
  1406. -- low flags: 00
  1407. -- high flags: 0000
  1408. -- rect: left=5 top=210 right=222 bottom=21
  1409. -- title width / last selected line: 0
  1410. -- icon id / first selected line: 0 / 0
  1411. -- text alignment: 1
  1412. -- font id: 0
  1413. -- text size: 12
  1414. -- style flags: 0
  1415. -- line height: 16
  1416. -- part name: 
  1417. ----- HyperTalk script -----
  1418. on mouseUp
  1419.   global treeStart
  1420.   put field 7 into treeStart
  1421.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1422.   push card
  1423.   pass mouseUp
  1424. end mouseUp
  1425.  
  1426.  
  1427.  
  1428. -- part 133 (button)
  1429. -- low flags: 00
  1430. -- high flags: 0000
  1431. -- rect: left=5 top=227 right=239 bottom=21
  1432. -- title width / last selected line: 0
  1433. -- icon id / first selected line: 0 / 0
  1434. -- text alignment: 1
  1435. -- font id: 0
  1436. -- text size: 12
  1437. -- style flags: 0
  1438. -- line height: 16
  1439. -- part name: 
  1440. ----- HyperTalk script -----
  1441. on mouseUp
  1442.   global treeStart
  1443.   put field 8 into treeStart
  1444.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1445.   push card
  1446.   pass mouseUp
  1447. end mouseUp
  1448.  
  1449.  
  1450.  
  1451. -- part 144 (field)
  1452. -- low flags: 00
  1453. -- high flags: 4000
  1454. -- rect: left=74 top=270 right=284 bottom=169
  1455. -- title width / last selected line: 0
  1456. -- icon id / first selected line: 0 / 0
  1457. -- text alignment: 0
  1458. -- font id: 21
  1459. -- text size: 10
  1460. -- style flags: 0
  1461. -- line height: 12
  1462. -- part name: 
  1463.  
  1464.  
  1465. -- part 134 (button)
  1466. -- low flags: 00
  1467. -- high flags: 0000
  1468. -- rect: left=455 top=26 right=51 bottom=481
  1469. -- title width / last selected line: 0
  1470. -- icon id / first selected line: 0 / 0
  1471. -- text alignment: 1
  1472. -- font id: 0
  1473. -- text size: 12
  1474. -- style flags: 0
  1475. -- line height: 16
  1476. -- part name: 
  1477. ----- HyperTalk script -----
  1478. on mouseUp
  1479.   global treeStart
  1480.   set cursor to 4
  1481.   put field 1 into treeStart
  1482.   if treeStart is empty or treeStart is not in card field 1 of card "Tree" then exit mouseUp
  1483.   push card
  1484.   pass mouseUp
  1485. end mouseUp
  1486.  
  1487.  
  1488.  
  1489. -- part 135 (button)
  1490. -- low flags: 00
  1491. -- high flags: 0000
  1492. -- rect: left=297 top=287 right=337 bottom=344
  1493. -- title width / last selected line: 0
  1494. -- icon id / first selected line: 32670 / 32670
  1495. -- text alignment: 1
  1496. -- font id: 0
  1497. -- text size: 12
  1498. -- style flags: 0
  1499. -- line height: 16
  1500. -- part name: QuickLook
  1501. ----- HyperTalk script -----
  1502. on mouseUp
  1503.   show all cards
  1504. end mouseUp
  1505.  
  1506.  
  1507.  
  1508. -- part 140 (field)
  1509. -- low flags: 00
  1510. -- high flags: 4000
  1511. -- rect: left=416 top=102 right=116 bottom=493
  1512. -- title width / last selected line: 0
  1513. -- icon id / first selected line: 0 / 0
  1514. -- text alignment: 1
  1515. -- font id: 21
  1516. -- text size: 10
  1517. -- style flags: 0
  1518. -- line height: 12
  1519. -- part name: 
  1520.  
  1521.  
  1522. -- part 141 (field)
  1523. -- low flags: 00
  1524. -- high flags: 4000
  1525. -- rect: left=416 top=115 right=129 bottom=493
  1526. -- title width / last selected line: 0
  1527. -- icon id / first selected line: 0 / 0
  1528. -- text alignment: 1
  1529. -- font id: 21
  1530. -- text size: 10
  1531. -- style flags: 0
  1532. -- line height: 12
  1533. -- part name: 
  1534.  
  1535.  
  1536. -- part 154 (button)
  1537. -- low flags: 00
  1538. -- high flags: 0000
  1539. -- rect: left=82 top=288 right=338 bottom=132
  1540. -- title width / last selected line: 0
  1541. -- icon id / first selected line: 1007 / 1007
  1542. -- text alignment: 1
  1543. -- font id: 0
  1544. -- text size: 12
  1545. -- style flags: 0
  1546. -- line height: 16
  1547. -- part name: New Button
  1548. ----- HyperTalk script -----
  1549. on mouseUp
  1550.   answer "What do you want to print?" with "Cancel" or "All Cards" or "This Card"
  1551.   if it is "Cancel"
  1552.   then
  1553.   exit mouseUp
  1554. else
  1555.   if it is "This Card"
  1556.   then
  1557.   open printing
  1558.   repeat with x = 49 to 55
  1559.     show background button x
  1560.   end repeat
  1561.   print this card
  1562.   show field "Story"
  1563.   print this card
  1564.   close printing
  1565.   hide field "Story"
  1566.   repeat with x = 49 to 55
  1567.     hide background button x
  1568.   end repeat
  1569. else
  1570.   put the number of cards into cardNum
  1571.   answer "Are you sure you want to print all" && (cardNum - 3) && "cards?" with "Yes" or "No"
  1572.   if it is "No" then exit mouseUp
  1573.   open printing
  1574.   go to card 4
  1575.   repeat with x = 49 to 55
  1576.     show background button x
  1577.   end repeat
  1578.   repeat with x = 3 to cardNum
  1579.     print card x
  1580.     show field "Story"
  1581.     print card x
  1582.     hide field "Story"
  1583.   end repeat
  1584.   close printing
  1585.   repeat with x = 49 to 55
  1586.     hide background button x
  1587.   end repeat
  1588. end if
  1589. end if
  1590. end mouseUp
  1591.  
  1592.  
  1593.  
  1594. -- part 142 (field)
  1595. -- low flags: 00
  1596. -- high flags: 4000
  1597. -- rect: left=416 top=128 right=142 bottom=493
  1598. -- title width / last selected line: 0
  1599. -- icon id / first selected line: 0 / 0
  1600. -- text alignment: 1
  1601. -- font id: 21
  1602. -- text size: 10
  1603. -- style flags: 0
  1604. -- line height: 12
  1605. -- part name: 
  1606.  
  1607.  
  1608. -- part 143 (field)
  1609. -- low flags: 00
  1610. -- high flags: 4000
  1611. -- rect: left=416 top=141 right=155 bottom=493
  1612. -- title width / last selected line: 0
  1613. -- icon id / first selected line: 0 / 0
  1614. -- text alignment: 1
  1615. -- font id: 21
  1616. -- text size: 10
  1617. -- style flags: 0
  1618. -- line height: 12
  1619. -- part name: 
  1620.  
  1621.  
  1622. -- part 146 (button)
  1623. -- low flags: 80
  1624. -- high flags: 0001
  1625. -- rect: left=451 top=22 right=52 bottom=511
  1626. -- title width / last selected line: 0
  1627. -- icon id / first selected line: 0 / 0
  1628. -- text alignment: 1
  1629. -- font id: 0
  1630. -- text size: 12
  1631. -- style flags: 0
  1632. -- line height: 16
  1633. -- part name: Cover1
  1634.  
  1635.  
  1636. -- part 147 (button)
  1637. -- low flags: 80
  1638. -- high flags: 0001
  1639. -- rect: left=7 top=98 right=153 bottom=23
  1640. -- title width / last selected line: 0
  1641. -- icon id / first selected line: 0 / 0
  1642. -- text alignment: 1
  1643. -- font id: 0
  1644. -- text size: 12
  1645. -- style flags: 0
  1646. -- line height: 16
  1647. -- part name: Cover2
  1648.  
  1649.  
  1650. -- part 148 (button)
  1651. -- low flags: 80
  1652. -- high flags: 0001
  1653. -- rect: left=494 top=96 right=289 bottom=512
  1654. -- title width / last selected line: 0
  1655. -- icon id / first selected line: 0 / 0
  1656. -- text alignment: 1
  1657. -- font id: 0
  1658. -- text size: 12
  1659. -- style flags: 0
  1660. -- line height: 16
  1661. -- part name: Cover3
  1662.  
  1663.  
  1664. -- part 149 (button)
  1665. -- low flags: 80
  1666. -- high flags: 0001
  1667. -- rect: left=6 top=206 right=244 bottom=18
  1668. -- title width / last selected line: 0
  1669. -- icon id / first selected line: 0 / 0
  1670. -- text alignment: 1
  1671. -- font id: 0
  1672. -- text size: 12
  1673. -- style flags: 0
  1674. -- line height: 16
  1675. -- part name: Cover4
  1676.  
  1677.  
  1678. -- part 150 (button)
  1679. -- low flags: 80
  1680. -- high flags: 0001
  1681. -- rect: left=281 top=201 right=243 bottom=296
  1682. -- title width / last selected line: 0
  1683. -- icon id / first selected line: 0 / 0
  1684. -- text alignment: 1
  1685. -- font id: 0
  1686. -- text size: 12
  1687. -- style flags: 0
  1688. -- line height: 16
  1689. -- part name: Cover5
  1690.  
  1691.  
  1692. -- part 151 (button)
  1693. -- low flags: 80
  1694. -- high flags: 0001
  1695. -- rect: left=298 top=155 right=289 bottom=312
  1696. -- title width / last selected line: 0
  1697. -- icon id / first selected line: 0 / 0
  1698. -- text alignment: 1
  1699. -- font id: 0
  1700. -- text size: 12
  1701. -- style flags: 0
  1702. -- line height: 16
  1703. -- part name: Cover6
  1704.  
  1705.  
  1706. -- part 152 (button)
  1707. -- low flags: 80
  1708. -- high flags: 0001
  1709. -- rect: left=2 top=288 right=341 bottom=508
  1710. -- title width / last selected line: 0
  1711. -- icon id / first selected line: 0 / 0
  1712. -- text alignment: 1
  1713. -- font id: 0
  1714. -- text size: 12
  1715. -- style flags: 0
  1716. -- line height: 16
  1717. -- part name: Cover7
  1718.  
  1719.  
  1720. -- part 139 (field)
  1721. -- low flags: 80
  1722. -- high flags: 4007
  1723. -- rect: left=5 top=51 right=288 bottom=509
  1724. -- title width / last selected line: 0
  1725. -- icon id / first selected line: 0 / 0
  1726. -- text alignment: 0
  1727. -- font id: 21
  1728. -- text size: 9
  1729. -- style flags: 0
  1730. -- line height: 12
  1731. -- part name: Story
  1732.